<div class="bg-light lter b-b wrapper-md">
  <h1 class="m-n font-thin h3">政策及法规补贴类型</h1>
</div>
<div class="panel panel-default">
  <div class="panel-body">
    <div class="col-lg-2 pull-right">
      <button class="btn btn-info btn-block" ng-click="saveType()">添加类型</button>
    </div>
  </div>

  <div class="panel-body">
    <table class="table table-bordered ng-isolate-scope dataTable no-footer">
      <thead>
        <tr>
          <th class="col-md-3 text-center">类型标题</th>
          <th class="col-md-2 text-center">票数量</th>
          <th class="col-md-2 text-center">房数量</th>
          <th class="col-md-2 text-center">操作</th>
        </tr>
      </thead>
      <tbody>
        <tr ng-repeat="info in typeList">
          <td class="text-center">{{info.name}}</td>
          <td class="text-center">{{info.ticket_num}}</td>
          <td class="text-center">{{info.room_num}}</td>
          <td class="text-center">
            <button type="button" class="btn btn-info btn-xs" ng-click="saveType(info)">修改</button>
            <button type="button" class="btn btn-danger btn-xs" ng-click="delete(info,$index)">删除</button>
          </td>
        </tr>
      </tbody>
    </table>

    
  </div>
</div>
